9. What are regular expressions ? How are
they useful?
Answers
Answered by
21
Answer:
ʀᴇɢᴜʟᴀʀ ᴇxᴘʀᴇssɪᴏɴs ᴀʀᴇ ᴀ sʏsᴛᴇᴍ ғᴏʀ ᴍᴀᴛᴄʜɪɴɢ ᴘᴀᴛᴛᴇʀɴs ɪɴ ᴛᴇxᴛ ᴅᴀᴛᴀ, ᴡʜɪᴄʜ ᴀʀᴇ ᴡɪᴅᴇʟʏ ᴜsᴇᴅ ɪɴ ᴜɴɪx sʏsᴛᴇᴍs, ᴀɴᴅ ᴏᴄᴄᴀsɪᴏɴᴀʟʟʏ ᴏɴ ᴘᴇʀsᴏɴᴀʟ ᴄᴏᴍᴘᴜᴛᴇʀs ᴀs ᴡᴇʟʟ. ᴛʜᴇʏ ᴘʀᴏᴠɪᴅᴇ ᴀ ᴠᴇʀʏ ᴘᴏᴡᴇʀғᴜʟ, ʙᴜᴛ ᴀʟsᴏ ʀᴀᴛʜᴇʀ ᴏʙᴛᴜsᴇ, sᴇᴛ ᴏғ ᴛᴏᴏʟs ғᴏʀ ғɪɴᴅɪɴɢ ᴘᴀʀᴛɪᴄᴜʟᴀʀ ᴡᴏʀᴅs ᴏʀ ᴄᴏᴍʙɪɴᴀᴛɪᴏɴs ᴏғ ᴄʜᴀʀᴀᴄᴛᴇʀs ɪɴ sᴛʀɪɴɢs.
Answered by
0
Answer:
ʀᴇɢᴜʟᴀʀ ᴇxᴘʀᴇssɪᴏɴs ᴀʀᴇ ᴀ sʏsᴛᴇᴍ ғᴏʀ ᴍᴀᴛᴄʜɪɴɢ ᴘᴀᴛᴛᴇʀɴs ɪɴ ᴛᴇxᴛ ᴅᴀᴛᴀ, ᴡʜɪᴄʜ ᴀʀᴇ ᴡɪᴅᴇʟʏ ᴜsᴇᴅ ɪɴ ᴜɴɪx sʏsᴛᴇᴍs, ᴀɴᴅ ᴏᴄᴄᴀsɪᴏɴᴀʟʟʏ ᴏɴ ᴘᴇʀsᴏɴᴀʟ ᴄᴏᴍᴘᴜᴛᴇʀs ᴀs ᴡᴇʟʟ. ᴛʜᴇʏ ᴘʀᴏᴠɪᴅᴇ ᴀ ᴠᴇʀʏ ᴘᴏᴡᴇʀғᴜʟ, ʙᴜᴛ ᴀʟsᴏ ʀᴀᴛʜᴇʀ ᴏʙᴛᴜsᴇ, sᴇᴛ ᴏғ ᴛᴏᴏʟs ғᴏʀ ғɪɴᴅɪɴɢ ᴘᴀʀᴛɪᴄᴜʟᴀʀ ᴡᴏʀᴅs ᴏʀ ᴄᴏᴍʙɪɴᴀᴛɪᴏɴs ᴏғ ᴄʜᴀʀᴀᴄᴛᴇʀs ɪɴ sᴛʀɪɴɢs.
Similar questions