Quantcast
Viewing latest article 7
Browse Latest Browse All 12

Answer by Camarada for Need to perform Wildcard (*,?, etc) search on a string using Regex

You must escape special Regex symbols in input wildcard pattern (for example pattern *.txt will equivalent to ^.*\.txt$)So slashes, braces and many special symbols must be replaced with @"\"+ s, where s - special Regex symbol.


Viewing latest article 7
Browse Latest Browse All 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>