-1

This is the format for which I want to generate regex https://<any>.blob.core.windows.net/<any>?<any> where any allowed any character(including special char also). I mean all where the other part is static.

Can you help to generate regex for above pattern?

Thanks

Sagar Jajoriya
  • 2,377
  • 1
  • 9
  • 17

2 Answers2

0

This will match anything in the places where you put <any>.

https:\/\/.*\.blob\.core\.windows\.net\/.*\?.*
User456
  • 1,216
  • 4
  • 15
0
/^https:\/\/.+\.blob\.core\.windows\.net\/.+\?.+$/gm

<any> - any character (except for line terminators) between one and unlimited times. Can't be empty

Edshav
  • 378
  • 1
  • 8