Regex List
List of regular expressions for different purposes.
Use https://regex101.com/ to test and build regular expressions.
Get EUR and USD Value
(?:$|€|USD|EUR)(d+[,.]dd)|(d+[,.]dd)s?(?:$|€|USD|EUR) Get Domain from Link
(?:https?:/{2})?(?:w{3}.)((?:[a-zA-Z0-9]*)?.?[a-zA-Z0-9]*.[a-zA-Z]*)(?:/[.a-zA-Z0-9]*)* No www at beginning
(?:https?:/{2})?(?:w{3}.)?((?:[a-zA-Z0-9]*)?.?[a-zA-Z0-9]*.[a-zA-Z]*)(?:/[.a-zA-Z0-9]*)* No subdomains
(?:https?:/{2})?(?:w{3}.)?(?:[a-zA-Z0-9]*.)?([a-zA-Z0-9]*.[a-zA-Z]*)(?:/[.a-zA-Z0-9]*)* Get Link from String
((http|ftp|https)://)?([w_-]+(?:(?:.[w_-]+)+))([w.,@?^=%&:/~+#-]*[w@?^=%&/~+#-]) ((http|ftp|https)://)([w_-]+(?:(?:.[w_-]+)+))([w.,@?^=%&:/~+#-]*[w@?^=%&/~+#-])