JSFiddle - React, Tailwind, and code Playground
by Bhumika107
HTML
<div class="answer"></div>
CSS
.answer
{
color: black;
font-size:20px;
width: 400px;
}
JavaScript
// finds common names
var str1 = "District 9|Divergent (2014)|DodgeBall[2004]|Donnie Darko (2001)|Dreamcatcher (2003)|Dredd (2012)|Drillbit.Taylor[2008][Extended.Survival.Edition]DvDrip-aXXo|Dumb And Dumber|Elektra (2005) {Action+Thriller} BDRip Dual Audio [SIDS].mkv|Elizabeth.The.Golden.Age.DVDRip.XviD-DiAMOND|Elysium (2013)|Elysium 2013 HDRip x264 AC3-JYK|Empire State (2013) 720p BRRip x264 [Dual-Audio] [Eng-Hindi]--[CooL GuY] {{a2zRG}}|Enchanted[2007]DvDrip-aXXo|Ender's Game 2013 KORSUB HDRip XViD NO1KNOWS|Enemy At The Gates (2001)|Enemy of the State (1998)|Equilibrium|Eragon.Dual.300MB.mkv|Escape Plan (2013)|Evan.Almighty..avi|Fantastic.Four.2015.HD.TS.XVID.AC3-EVE|Fast and Furious|Fast and Wild Illegal Street Racing|Fast.Track-No.Limits[2008]DvDrip-aXXo|Faster [2010]|Fifty Shades of Grey (2015) UNCUT HC HD-RIP H.264 (x264) [Encoded Raiyanlabib]|Final Destination - Series|Finding Neverland (2004)|Finding Neverland (2004).divx|Four Lions|G.I. Joe|Gangster Squad (2013) DVDRip XviD-MAXSPEED|GET SMART.mkv|Gladiator (2000) [ENG] [DVDrip]|Godfather Trilogy|Gone Girl (2014) [1080p]|Gravity (2013) 720p WEBRip x264|Grown Ups (2010)|Guardians of galaxy.mkv|Hachiko A Dog's Story[2009]DvDrip[Eng]-FXG|Hansel and Gretel Witch Hunters (2013)|Harry Potter And The Deathly Hallows Part.2 720p BRRip [A Cryptik Visions H264]|Her.2013.DVDSCR.XviD.MP3-RARBG|Hercules (2014) [1080p]|High Fidelity|High School (2010)|Hitch.[2005]DvDrip.[Eng]-prithwi|Hugo (2011)|I'm.a.Cyborg.but.Thats.OK.2006.DVDRip.XviD-PosTX|I, Frankenstein 2014 DVDRiP.DiVX.MP3-ART3MiS|I, Robot 2004 BDRip H264 AAC-SecretMyth (Kingdom-Release)|I.Am.Legend[2007]DvDrip[Eng]-aXXo|In Time|In.Bruges[2008]DvDrip-aXXo|Inception|Insomnia [2002]|Insurgent (2015)|Interstellar.2014.720p.BluRay.x264.ShAaNiG.mkv|Into the Wild|Invictus[2009]DvDrip[Eng]-FXG|Iron Man 2 (2010)BRRip 720p (Hindi)Current_HD.mkv|Iron Man 3 (2013) 720p Blu-Ray x264 [Dual-Audio] [English + Hindi DD 2.0] - Mafiaking|Iron Man [DVDrip] [Dual Audio]...