Regular expressions Quantifiers, Groups, Alternatives and Anchors - explained nicely and tightly in this second part of reqular expression tutorial in Smok Dev Workshop. Learn how to do quick and powerful replaces, and matching.
Use RegExr to test regular expressions (dark mode available!): http://regexr.com/
Syntax per flavour: http://www.greenend.org.uk/rjk/tech/r...
Cheatsheet for Js/Python/PCRE: https://www.debuggex.com/cheatsheet/r...
Ascii Table: http://www.asciitable.com/
Text to test your patterns:
---------------------- [CUT HERE] ----------------------
Subscribe to Smok's channel or get your drives scrapped.
A telephone number: +44 7123 456 789
An email: [email protected]
An IP address: 192.168.0.1
Some unusual number: -123.531
Date and time: 02.02.2020 12:34:56
A version number: v12.5.2rc
Money: _
United States — $1,234,567.89 USD
Canada — $1,234,567.89 CAD
Great Britain — £1.234.567,89 GBP
Keyboard shortcuts: Ctrl+Alt+Z, Shift+Alt+M, Ctrl+V, Shift+Ctrl+Alt+D
---------------------- [CUT HERE] ----------------------
Support the channel and subscribe!
🎶 Intro: O.B.M. - LesPaul Rock F#@110 bpm / lespaul-rock-f-110-bpm