Regular Expressions 101

Library entries

修复URL尾斜杠

Vote

0

Regular Expression
javascript

/
(?:(?<=\.(?:com|cn)(\:\d+(?!\d)))|(?<=\.(?:com|cn)(?!:\d+|\.)))(?!\/)
/
g

Description

Loading markdown...
Submitted by anonymous - 2 years ago