Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex for comments javascript

// Playground : 
	https://www.regextester.com/93814

// code : 
	/(/*([^*]|[
]|(*+([^*/]|[
])))**+/)|(//.*)/igm
Source by www.regextester.com #
 
PREVIOUS NEXT
Tagged: #regex #comments #javascript
ADD COMMENT
Topic
Name
5+4 =