Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>RegexSnapNew to Visual Studio Code? Get it now.
RegexSnap

RegexSnap

Sellucas

|
38 installs
| (0) | Free
Insert Regex patterns effortlessly, in seconds!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RegexSnap

Over 50 pre-defined regex snippets in VS Code for quick and efficient regular expression handling. Simplify your regex writing and boost productivity.

What will you use this for?

Utilize RegexSnap to streamline your regular expression writing process within Visual Studio Code. With over 50 pre-defined snippets, it enhances productivity and simplifies text manipulation tasks, making development more efficient.

Snippets

Name Snippet Description
Email Simple rsemailsimple Matches an email address
Email Advanced rsemailadvanced Matches an email address
Email List rsemaillist Matches multiple email addresses separated by commas or semicolons
CreditCard American Simple rsccamericansimple Matches an American Express credit card number
CreditCard American Advanced rsccamericanadvanced Matches an American Express credit card number with hyphens or spaces
CreditCard MasterCard Simple rsccmastersimple Matches a MasterCard credit card number
CreditCard MasterCard Advanced rsccmasteradvanced Matches a MasterCard credit card number
CreditCard Visa Simple rsccvisasimple Matches a Visa credit card number
CreditCard Visa Advanced rsccvisaadvanced Matches a Visa credit card number
DateTime MMDDYYYY rsmmddyy Matches a valid date, MM/DD/YYYY or MM-DD-YYYY
DateTime MonthDDYYYY rsmonthddyy Matches a valid date
DateTime Month rsmonth Matches a valid month
Time 12 rstime12 Matches a valid time
Time 24 rstime24 Matches a valid time
Time ISO 8601 rsiso Matches a ISO 8601
Boolean rsboolean Matches a boolean
Boolean True rsboolenatrue Matches a boolean
Boolean False rsbooleanfalse Matches a boolean
Postal Code Brazil rspcbrazil Matches a Postal Code
Postal Code USA rspcusa Matches a Postal Code
Postal Code Australia rspcaustralia Matches a Postal Code
Postal Code Canada rspccanada Matches a Postal Code
Postal Code France rspcfrance Matches a Postal Code
Postal Code Germany rspcgermany Matches a Postal Code
Postal Code Italy rspcitaly Matches a Postal Code
Postal Code Normway rspcnorway Matches a Postal Code
Postal Code Spain rspcspain Matches a Postal Code
Postal Code UK rspcuk Matches a Postal Code
Number rsnumb Matches a Number
Number Positive rsnumbpositive Matches a Positive Number
Number Negative rsnumbnegative Matches a Positive Number
Integer Number rsint Matches a Integer Number
Integer Positive Number rsintpositive Matches a Positive Integer Number
Integer Negative Number rsintnegative Matches a Negative Integer Number
URL IPv4 rsipv4 Matches a IPv4
URL IPv6 rsipv6 Matches a IPv6
URL Base rsurlbase Matches a URL
URL Path rsurlpath Matches a URL Path
ISBN-10 rsisbn10 Matches a ISBN-10
ISBN-13 rsisbn13 Matches a ISBN-13
MAC Address rsmacid Matches a MAC Address
UUID rsuuid Matches a UUID
Image Extensions rsimgfile Matches a Img Extentsions
Phone Number rsphone Matches a Phone Number
Base64 rsbase64 Matches a Base64
Hex Color rshexcolor Matches a Hexadecimal Color
Username rsusername Matches a Username
Password Strength rspasswordstr Matches a Password with: lowercase letter, 1 uppercase letter, 1 number, and be at least 8 characters long
Duplicated Words rsduplicate Matches a Duplicated Word
HTML tags rshtmltag Matches a HTML tag
HTML img Tag rsimgsrc Matches an HTML img tag
Youtube ID Video rsytidvideo Matches an Youtube ID Video
Vehicle Identification Numbers rsvin Matches an Vehicle ID

Contribution

All contributions to this repository are welcome. If you'd like to add new features, report a bug, or make a contribution, please start by creating an issue using the appropriate template.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft