GithubHelp home page GithubHelp logo

Comments (32)

markerpen92 avatar markerpen92 commented on September 7, 2024

https://github.com/markerpen92/wp110b/blob/master/homework/html/homework7
111010561 周名初

from wp110b.

LeeYi-user avatar LeeYi-user commented on September 7, 2024

資工一 李易 111010512

> let text = "name: LeeYi, age: 18, job: student;"
undefined

> let re1 = /, |[a-z]*/
undefined
> text.match(re1)
[ "name" ]

> let re2 = /[A-Z][a-z]+[A-Z][a-z]+/
undefined
> text.match(re2)
[ "LeeYi" ]

> let re3 = /age/
undefined
> text.match(re3)
[ "age" ]

> let re4 = /\d+/g
undefined
> text.match(re4)
[ "18" ]

> let re5 = /, |.*\: /g
undefined
> text.match(re5)
[ "name: LeeYi, age: 18, job: " ]

> let re6 = /\: *[a-z]*/g
undefined
> text.match(re6)
[ ": ", ": ", ": student" ]

from wp110b.

weixiang0470 avatar weixiang0470 commented on September 7, 2024

黃偉祥 111010550
Homework 7

from wp110b.

123456789203 avatar 123456789203 commented on September 7, 2024

林子安 111012212 Homework 7
https://github.com/123456789203/wp110b/blob/master/%E6%9E%97%E5%AD%90%E5%AE%89%20111012212

from wp110b.

asd1389271903 avatar asd1389271903 commented on September 7, 2024

111010509 侯皓騰
https://github.com/asd1389271903/wp110b/blob/master/homework7

from wp110b.

siyu0927 avatar siyu0927 commented on September 7, 2024

111010508 葉思妤
https://github.com/siyu0927/wp110b/blob/master/homework/JavaScript/homework7.js

from wp110b.

RogerChen530 avatar RogerChen530 commented on September 7, 2024

111010530陳樂融
https://github.com/RogerChen530/wp110b/blob/master/HW7.js

from wp110b.

weichen11011 avatar weichen11011 commented on September 7, 2024

111010529 顏瑋成
https://github.com/weichen11011/wp110b/blob/master/hw7/hw7.js

from wp110b.

jiajianong avatar jiajianong commented on September 7, 2024

110910535 呂嘉融
https://github.com/jiajianong/wp110b/blob/master/homework/hw7.js

from wp110b.

Jung217 avatar Jung217 commented on September 7, 2024

111010501 簡志融
Code

from wp110b.

byby9527 avatar byby9527 commented on September 7, 2024

111010540 陳先正
https://github.com/byby9527/wp110b/blob/master/homework/JavaScript/re.js

from wp110b.

wongyehthai avatar wongyehthai commented on September 7, 2024

111010541 黃業泰
https://github.com/wongyehthai/wp110b/blob/master/homework/html/%E7%BF%92%E9%A1%8C%207%20--%20%E6%AD%A3%E8%A6%8F%E8%A1%A8%E9%81%94%E5%BC%8F%E7%B7%B4%E7%BF%92

from wp110b.

weilunh7 avatar weilunh7 commented on September 7, 2024

111010514 黃威綸
https://github.com/weilunh7/wp110b/blob/master/HW7.js

from wp110b.

Ellinaa avatar Ellinaa commented on September 7, 2024

110910558陳玟卉

from wp110b.

peiyun328 avatar peiyun328 commented on September 7, 2024

111010507 資工一 許珮筠

> let text = "name:peiyun age:19 height:163"
undefined
> let re0 = /[0-9a-zA-z]+/g
undefined
> re0
/[0-9a-zA-z]+/g
> text
"name:peiyun age:19 height:163"
> text.match(re0)
[ "name", "peiyun", "age", "19", "height", "163" ]
> let re1 = /[0-9]+/g
undefined
> text.match(re1)
[ "19", "163" ]
> let re2 = /[a-z]+/g
undefined
> text.match(re2)
[ "name", "peiyun", "age", "height" ]
> let re3 = /[0-9a-z]+/g
undefined
> text.match(re3)
[ "name", "peiyun", "age", "19", "height", "163" ]
> let re4 = /[0-9a-zA-Z]+/
undefined
> text.match(re4)
[ "name" ]
> let re5 = /:[0-9a-z]+/g
undefined
> text.match(re5)
[ ":peiyun", ":19", ":163" ]
> let re6 = /:([0-9a-z])+/
undefined
> text.match(re6)
[ ":peiyun", "n" ]
> let re7 = /:([0-9a-z]+)/
undefined
> text.match(re7)
[ ":peiyun", "peiyun" ]
> let re7 = /:\w+/
undefined
> text.match(re7)
[ ":peiyun" ]
> let re8 = /:\d+/
undefined
> text.match(re8)
[ ":19" ]
> let re8 = /:\d+/g
undefined
> text.match(re8)
[ ":19", ":163" ]
> let re9 = /:\D+/g
undefined
> text.match(re9)
[ ":peiyun age:" ]
> let tex = "Hi, peiyun, how are you? You have 10 missed call."
undefined
> tex
"Hi, peiyun, how are you? You have 10 missed call."
> let re = /\w[0-9A-Z]+/g
undefined
> text.match(re)
[ "19", "163" ]
> let re0 = /[0-9]+/g
undefined
> text.match(re0)
[ "19", "163" ]
> let text =  "Hi, peiyun, how are you? You have 10 missed call.And Mr.Lin had send you an email: [email protected]"
undefined
> text
"Hi, peiyun, how are you? You have 10 missed call.And Mr.Lin had send you an email: [email protected]"
> let re0 = /:\w+/
undefined
> let re0 = /:\w+@[\w\.]+/g
undefined
> let text2 = "Hi, peiyun, how are you? You have 10 missed call.And Mr.Lin had send you an email: [email protected]"
undefined
> text2
"Hi, peiyun, how are you? You have 10 missed call.And Mr.Lin had send you an email: [email protected]"
> text2.match(re)
[ "10", "n0421" ]
> let re = /\w+@\w+\.[\w\.]+/g
undefined
> text2.match(re)
[ "[email protected]" ]
> let text2 = text + "  abc    ccc@q  ... "
undefined
> text2
"Hi, peiyun, how are you? You have 10 missed call.And Mr.Lin had send you an email: [email protected]  abc    ccc@q  ... "
> text2.match(re)
[ "[email protected]" ]
> let re1 = /\w+@[\w\.]+/g
undefined
> text2.match(re1)
[ "[email protected]", "ccc@q" ]
> text2.match(re)
[ "[email protected]" ]

from wp110b.

samue02l avatar samue02l commented on September 7, 2024

111010546 張孔典
https://github.com/samue02l/wp110b/blob/master/homework/html/exe7.js

from wp110b.

yuzi0521 avatar yuzi0521 commented on September 7, 2024

111010527 顏郁茨

1.practice

> let text="name:yuzi age:18 email:[email protected]"
undefined
> let re = /[0-9]+/g
undefined
> re
/[0-9]+/g
> text
"name:yuzi age:18 email:[email protected]"
> text.match(re)
[ "18", "111010527" ]
> let re2 = /[a-z]+/g
undefined
> text.match(re2)
[
  "name", "yuzi",
  "age",  "email",
  "s",    "student",
  "nqu",  "edu",
  "tw"
]
> let re3 = /:([0-9a-zA-Z])+/g
undefined
> text.match(re3)
[ ":yuzi", ":18", ":s111010527" ]
>let re4 = /:([0-9a-zA-Z])+/
undefined
> text.match(re4)
[ ":yuzi", "i" ]
>  let re5 = /:([0-9a-zA-Z]+)/
undefined
> text.match(re5)
[ ":yuzi", "yuzi" ]
> let re6 = /:\w+/
undefined
> text.match(re6)
[ ":yuzi" ]
> let re7 = /:\d+/
undefined
> text.match(re7)
[ ":18" ]
> let re8 = /:\d+/g
undefined
> text.match(re8)
[ ":18" ]
> let re9 = /:\D+/g
undefined
> text.match(re9)
[ ":yuzi age:", ":s" ]

2.catch email

>let text2 = "hi, i'm yuzi :) do you like vtuber? if you like you can email me. my email is [email protected]"
undefined
> text2
"hi, i'm yuzi :) do you like vtuber? if you like you can email me. my email is [email protected]"
> let text2 = text2 + "  abc   gura@cute  ... "
undefined
> text2
"hi, i'm yuzi :) do you like vtuber? if you like you can email me. my email is [email protected]  abc   gura@cute  ... "
>let re1 = /\w+@[\w\.]+/g
undefined
> text2.match(re1)
[ "[email protected]", "gura@cute" ]
> let re = /\w+@\w+\.[\w\.]+/g
undefined
> text2.match(re)
[ "[email protected]" ]

from wp110b.

Tzuan1020 avatar Tzuan1020 commented on September 7, 2024

111010517 蘇子安
https://github.com/Tzuan1020/wp110b/blob/master/hw7.js

from wp110b.

Chieh0622 avatar Chieh0622 commented on September 7, 2024

111010515 林弘杰
code

from wp110b.

KimLinTW avatar KimLinTW commented on September 7, 2024

111010558 林廣哲
https://github.com/KimLinTW/wp110b/blob/master/homework/regex.log

from wp110b.

leeeeeeeeeeeeeeeeeeeeeee avatar leeeeeeeeeeeeeeeeeeeeeee commented on September 7, 2024

111010553 李沃原

from wp110b.

CJI3751 avatar CJI3751 commented on September 7, 2024

https://github.com/CJI3751/wp110b/blob/master/JS/ex7.js
111010564 潘敏驛

from wp110b.

yihsien924 avatar yihsien924 commented on September 7, 2024

111010555林羿嫻
https://github.com/yihsien924/wp110b/blob/master/homework7.html

from wp110b.

wei-annn avatar wei-annn commented on September 7, 2024

110910504趙唯安
https://github.com/wei-annn/wp110b/wiki/hw7.md

from wp110b.

st950344 avatar st950344 commented on September 7, 2024

111010565黃品慈
https://github.com/st950344/wp110b/tree/master/homework/html/HW7

from wp110b.

dallas145 avatar dallas145 commented on September 7, 2024

111010511 蔡松宏
https://github.com/dallas145/wp110b/blob/master/homework/js/exercise7.js

from wp110b.

ali1234-56 avatar ali1234-56 commented on September 7, 2024

111010536 林家成
https://github.com/ali1234-56/wp110b/blob/master/homework7

from wp110b.

rossen1020 avatar rossen1020 commented on September 7, 2024

111010516 賴映羽
https://github.com/rossen1020/wp110b/blob/master/homework/7.log

from wp110b.

nelson023 avatar nelson023 commented on September 7, 2024

110910523張繼光
https://github.com/nelson023/wp110b/blob/master/HW/JavaScript/hw7.js

from wp110b.

daniel74859641 avatar daniel74859641 commented on September 7, 2024

110910563陳威宇
https://github.com/daniel74859641/-/blob/%E7%B6%B2%E9%A0%81%E6%9C%9F%E6%9C%AB%E5%A0%B1%E5%91%8A/%E7%B6%B2%E9%A0%81%E4%BD%9C%E6%A5%AD7

from wp110b.

samlin911227 avatar samlin911227 commented on September 7, 2024

111010533 林達城
js

from wp110b.

MitanEXE avatar MitanEXE commented on September 7, 2024

111010544 陳彬彬
https://github.com/MitanEXE/wp110b/blob/master/homework/excersice7.js

from wp110b.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.