2
Answers

C# Regular expression for start and end text

SIVA

SIVA

9y
466
1
Hi
I am looking for replacing text in given file & I am looking for regular expression for replacing text, which matches below cases.

1. ORDER-abc.com
2. ORDER.abc.com
3. order-abc.com
4. order.abc.com
5. order-xyz.com

So, basically my regular expression is built on search start with order and ends with .com.
This is not a sensitive and text can present in both upper and lower case.

Please let me know the regular expression, which should verify in total text file.
Answers (2)
0
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 11y
Please close the duplicate thread. Already another thread is active and please do not create duplicate threads going forward.
0
Maneesh A N

Maneesh A N

NA 179 82.9k 11y
pls Ans Sir