regex

How to match "any character" in regular expression?


The following should be matched:

AAA123
ABCDEFGH123
XXXX123

can I do: ".*123" ?


Solution

  • Yes, you can. That should work.