{"ScriptPreparationCode":"var arr = [\u0027in\u0027,\u0027no\u0027,\u0027of\u0027];\r\nvar pattern = new RegExp(arr.join(\u0027|\u0027), \u0027iu\u0027);\r\nvar result = [];\r\nvar strings = [\u0022Pair your designer cowboy hat with scuba gear for a memorable occasion.\u0022,\u0022She had a habit of taking showers in lemonade.\u0022,\u0022Art doesn\u0027t have to be intentional.\u0022,\u0022We will not allow you to bring your pet armadillo along.\u0022,\u0022That was how he came to win $1 million.\u0022,\u0022The balloons floated away along with all my hopes and dreams.\u0022,\u0022When she didn\uFFFDt like a guy who was trying to pick her up, she started using sign language.\u0022,\u0022She used her own hair in the soup to give it more flavor.\u0022,\u0022The knives were out and she was sharpening hers.\u0022,\u0022If you spin around three times, you\u0027ll start to feel melancholy.\u0022,\u0022The mysterious diary records the voice.\u0022,\u0022We need to rent a room for our party.\u0022,\u0022On each full moon\u0022,\u0022The manager of the fruit stand always sat and only sold vegetables.\u0022,\u0022She did her best to help him.\u0022,\u0022Today I dressed my unicorn in preparation for the race.\u0022,\u0022Shakespeare was a famous 17th-century diesel mechanic.\u0022,\u0022He ended up burning his fingers poking someone else\u0027s fire.\u0022,\u0022He was sitting in a trash can with high street class.\u0022,\u0022She did not cheat on the test, for it was not the right thing to do.\u0022,\u0022It was her first experience training a rainbow unicorn.\u0022,\u0022Before he moved to the inner city, he had always believed that security complexes were psychological.\u0022,\u0022She wanted to be rescued, but only if it was Tuesday and raining.\u0022,\u0022There can never be too many cherries on an ice cream sundae.\u0022,\u0022I am counting my calories, yet I really want dessert.\u0022,\u0022There\u0027s a growing trend among teenagers of using frisbees as go-cart wheels.\u0022,\u0022Your girlfriend bought your favorite cookie crisp cereal but forgot to get milk.\u0022,\u0022Tuesdays are free if you bring a gnome costume.\u0022,\u0022I only enjoy window shopping when the windows are transparent.\u0022,\u0022He wasn\u0027t bitter that she had moved on but from the radish.\u0022,\u0022Boulders lined the side of the road foretelling what could come next.\u0022,\u0022He watched the dancing piglets with panda bear tummies in the swimming pool.\u0022,\u0022Stop waiting for exceptional things to just happen.\u0022,\u0022He is no James Bond; his name is Roger Moore.\u0022,\u0022Baby wipes are made of chocolate stardust.\u0022,\u0022Harrold felt confident that nobody would ever suspect his spy pigeon.\u0022,\u0022A purple pig and a green donkey flew a kite in the middle of the night and ended up sunburnt.\u0022,\u0022Karen believed all traffic laws should be obeyed by all except herself.\u0022,\u0022The bug was having an excellent day until he hit the windshield.\u0022,\u0022When transplanting seedlings, candied teapots will make the task easier.\u0022,\u0022She was the type of girl that always burnt sugar to show she cared.\u0022,\u0022You bite up because of your lower jaw.\u0022,\u0022The sun had set and so had his dreams.\u0022,\u0022Fluffy pink unicorns are a popular status symbol among macho men.\u0022,\u0022I know many children ask for a pony, but I wanted a bicycle with rockets strapped to it.\u0022,\u0022He took one look at what was under the table and noped the hell out of there.\u0022,\u0022The quick brown fox jumps over the lazy dog.\u0022,\u0022David proudly graduated from high school top of his class at age 97.\u0022,\u0022The fish dreamed of escaping the fishbowl and into the toilet where he saw his friend go.\u0022,\u0022Eating eggs on Thursday for choir practice was recommended.\u0022,\u0022The thunderous roar of the jet overhead confirmed her worst fears.\u0022,\u0022He was an introvert that extroverts seemed to love.\u0022,\u0022He strives to keep the best lawn in the neighborhood.\u0022,\u0022He was willing to find the depths of the rabbit hole in order to be with her.\u0022,\u0022Erin accidentally created a new universe.\u0022,\u0022I cheated while playing the darts tournament by using a longbow.\u0022,\u0022The bird had a belief that it was really a groundhog.\u0022,\u0022The tree fell unexpectedly short.\u0022,\u0022I\uFFFDm a living furnace.\u0022,\u0022Malls are great places to shop; I can find everything I need under one roof.\u0022,\u0022My biggest joy is roasting almonds while stalking prey.\u0022,\u0022The estate agent quickly marked out his territory on the dance floor.\u0022,\u0022The clouds formed beautiful animals in the sky that eventually created a tornado to wreak havoc.\u0022,\u0022She opened up her third bottle of wine of the night.\u0022,\u0022She found it strange that people use their cellphones to actually talk to one another.\u0022,\u0022Red is greener than purple, for sure.\u0022,\u0022Despite what your teacher may have told you, there is a wrong way to wield a lasso.\u0022,\u0022There are few things better in life than a slice of pie.\u0022,\u0022Joyce enjoyed eating pancakes with ketchup.\u0022,\u0022This is a Japanese doll.\u0022,\u0022Please tell me you don\u0027t work in a morgue.\u0022,\u0022The fish dreamed of escaping the fishbowl and into the toilet where he saw his friend go.\u0022,\u0022In hopes of finding out the truth, he entered the one-room library.\u0022,\u0022Art doesn\u0027t have to be intentional.\u0022,\u0022I\u0027d rather be a bird than a fish.\u0022,\u0022It doesn\u0027t sound like that will ever be on my travel list.\u0022,\u0022There\u0027s a reason that roses have thorns.\u0022,\u0022The manager of the fruit stand always sat and only sold vegetables.\u0022,\u0022He put heat on the wound to see what would grow.\u0022,\u0022Combines are no longer just for farms.\u0022,\u0022He was sitting in a trash can with high street class.\u0022,\u0022Gary didn\u0027t understand why Doug went upstairs to get one dollar bills when he invited him to go cow tipping.\u0022,\u0022Grape jelly was leaking out the hole in the roof.\u0022,\u0022There were a lot of paintings of monkeys waving bamboo sticks in the gallery.\u0022,\u0022Nancy thought the best way to create a welcoming home was to line it with barbed wire.\u0022,\u0022Today we gathered moss for my uncle\u0027s wedding.\u0022,\u0022A kangaroo is really just a rabbit on steroids.\u0022,\u0022The best key lime pie is still up for debate.\u0022,\u0022While on the first date he accidentally hit his head on the beam.\u0022,\u0022The book is in front of the table.\u0022,\u0022Patricia loves the sound of nails strongly pressed against the chalkboard.\u0022,\u0022Charles ate the french fries knowing they would be his last meal.\u0022,\u0022For the 216th time, he said he would quit drinking soda after this last Coke.\u0022,\u0022The shark-infested South Pine channel was the only way in or out.\u0022,\u0022To the surprise of everyone, the Rapture happened yesterday but it didn\u0027t quite go as expected.\u0022,\u0022He picked up trash in his spare time to dump in his neighbor\u0027s yard.\u0022,\u0022As the rental car rolled to a stop on the dark road, her fear increased by the moment.\u0022,\u0022They did nothing as the raccoon attacked the lady\uFFFDs bag of food.\u0022,\u0022If you like tuna and tomato sauce, try combining the two, it\uFFFDs really not as bad as it sounds.\u0022,\u0022Her fragrance of choice was fresh garlic.\u0022,\u0022Henry couldn\u0027t decide if he was an auto mechanic or a priest.\u0022,\u0022I was very proud of my nickname throughout high school but today- I couldn\u2019t be any different to what my nickname was.\u0022,\u0022He was all business when he wore his clown suit.\u0022,\u0022His mind was blown that there was nothing in space except space itself.\u0022,\u0022Hit me with your pet shark!\u0022,\u0022The sunblock was handed to the girl before practice, but the burned skin was proof she did not apply it.\u0022,\u0022The secret code they created made no sense, even to them.\u0022,\u0022His get rich quick scheme was to grow a cactus farm.\u0022,\u0022Doris enjoyed tapping her nails on the table to annoy everyone.\u0022,\u0022The sight of his goatee made me want to run and hide under my sister-in-law\u0027s bed.\u0022,\u0022When he asked her favorite number, she answered without hesitation that it was diamonds.\u0022,\u0022He fumbled in the darkness looking for the light switch, but when he finally found it there was someone already there.\u0022,\u0022Today I heard something new and unmemorable.\u0022,\u0022She finally understood that grief was her love with no place for it to go.\u0022,\u0022The balloons floated away along with all my hopes and dreams.\u0022,\u0022Never underestimate the willingness of the greedy to throw you under the bus.\u0022,\u0022There were white out conditions in the town; subsequently, the roads were impassable.\u0022,\u0022Instead of a bachelorette party\u0022,\u0022All they could see was the blue water surrounding their sailboat.\u0022,\u0022The clouds formed beautiful animals in the sky that eventually created a tornado to wreak havoc.\u0022,\u0022This made him feel like an old-style rootbeer float smells.\u0022,\u0022There\u0027s a message for you if you look up.\u0022,\u0022I\u0027m not a party animal, but I do like animal parties.\u0022,\u0022She was the type of girl that always burnt sugar to show she cared.\u0022,\u0022The skeleton had skeletons of his own in the closet.\u0022,\u0022Combines are no longer just for farms.\u0022,\u0022I\u0027d rather be a bird than a fish.\u0022,\u0022Waffles are always better without fire ants and fleas.\u0022,\u0022There are few things better in life than a slice of pie.\u0022,\u0022The door swung open to reveal pink giraffes and red elephants.\u0022,\u0022I am happy to take your donation; any amount will be greatly appreciated.\u0022,\u0022We have young kids who often walk into our room at night for various reasons including clowns in the closet.\u0022,\u0022Writing a list of random sentences is harder than I initially thought it would be.\u0022,\u0022His son quipped that power bars were nothing more than adult candy bars.\u0022,\u0022It doesn\u0027t sound like that will ever be on my travel list.\u0022,\u0022When transplanting seedlings, candied teapots will make the task easier.\u0022,\u0022Everyone pretends to like wheat until you mention barley.\u0022,\u0022I used to practice weaving with spaghetti three hours a day but stopped because I didn\u0027t want to die alone.\u0022,\u0022The busker hoped that the people passing by would throw money, but they threw tomatoes instead, so he exchanged his hat for a juicer.\u0022,\u0022He had concluded that pigs must be able to fly in Hog Heaven.\u0022,\u0022The sky is clear; the stars are twinkling.\u0022,\u0022Jim liked driving around town with his hazard lights on.\u0022,\u0022Behind the window was a reflection that only instilled fear.\u0022,\u0022The waitress was not amused when he ordered green eggs and ham.\u0022,\u0022Dolores wouldn\u0027t have eaten the meal if she had known what it actually was.\u0022,\u0022Three years later, the coffin was still full of Jello.\u0022,\u0022The Guinea fowl flies through the air with all the grace of a turtle.\u0022,\u0022I am my aunt\u0027s sister\u0027s daughter.\u0022,\u0022When money was tight, he\u0027d get his lunch money from the local wishing well.\u0022,\u0022He is good at eating pickles and telling women about his emotional problems.\u0022];\r\n","TestCases":[{"Name":"String.match","Code":"for (const str of strings) {\r\n if(str.match(pattern)) {\r\n result.push(str);\r\n }\r\n}\r\nconsole.log(result.length)","IsDeferred":false},{"Name":"String.includes","Code":"for (const str of strings) {\r\n for (const word of arr) {\r\n if(str.includes(word)) {\r\n result.push(str);\r\n }\r\n }\r\n}\r\nconsole.log(result.length)","IsDeferred":false},{"Name":"Regex.test","Code":"for (const str of strings) {\r\n if(pattern.test(str)) {\r\n result.push(str);\r\n }\r\n}\r\nconsole.log(result.length)","IsDeferred":false}]}